package elephant.consoleserver;

import elephant.Container;
import elephant.servers.consoleserver.ConsoleServer;

/**
 * 
 * @author skydu
 *
 */
public class DemoConsoleServer {

	public static void main(String[] args) throws Exception {
		ConsoleServer consoleServer=new ConsoleServer();
		consoleServer.addUser("admin", "Elephant");
		consoleServer.setPort(13001);
		Container.get().registerServer(consoleServer);
		Container.get().init();
		Container.get().start();
		
		
	}
	
}
